package cn.bdqn.service.Role;

import cn.bdqn.dao.Role.User_RoleMapper;
import cn.bdqn.pojo.Role.SysUserRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class User_RoleService {
    @Autowired
    User_RoleMapper userRole;

    /**
     * 修改用户是否可用
     * @param userId
     * @return
     */
    public Integer updateUserRole(Integer userId){
        return userRole.updateSysUserRole(userId);
    }
}
